arm: map DTB as outer- rather than inner-shareable.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 15 Mar 2012 15:20:37 +0000 (15:20 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 15 Mar 2012 15:20:37 +0000 (15:20 +0000)
This is consistent with how we map Xen which is important if they happen to be
in the same 2MB super page (which they generally are)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/head.S

index 606ae66fffe9c4f44fc26860f8d36271a4b4a25e..4b05bcd82069c3c35479842445b30fc39494ae8c 100644 (file)
@@ -238,7 +238,7 @@ hyp:
        mov   r3, #0x0
        lsr   r2, r8, #21
        lsl   r2, r2, #21            /* 2MB-aligned paddr of DTB */
-       orr   r2, r2, #0xf00
+       orr   r2, r2, #0xe00
        orr   r2, r2, #0x07d         /* r2:r3 := 2MB RAM incl. DTB */
        add   r4, r4, #8
        strd  r2, r3, [r1, r4]       /* Map it in the early boot slot */